This page is part of the FHIR Specification (v1.0.0: DSTU 2 Ballot 3). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions
The official URL for this profile is:
http://hl7.org/fhir/StructureDefinition/sdc-response
Defines how the questionnaire response resource is used to reflect form data within the ONC's Structured Data Capture standard.
This profile was published on Mon, Apr 21, 2014 00:00+1000 as a draft by Health Level Seven International (Orders and Observations - Structured Data Capture).
Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.
This structure is derived from QuestionnaireResponse.
This structure is derived from QuestionnaireResponse.
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
QuestionnaireResponse | 0..* | QuestionnaireResponse | ||
identifier | S | 0..1 | Identifier | |
questionnaire | S | 1..1 | Reference(Structured Data Capture Questionnaire Design) | |
status | S | 1..1 | code | |
subject | S | 1..1 | Reference(Patient) | |
author | S | 0..1 | Reference(Practitioner | Patient | RelatedPerson) | |
authored | S | 1..1 | dateTime | |
source | 0..1 | Reference(Patient | Practitioner | RelatedPerson) | ||
encounter | 0..1 | Reference(Encounter) | ||
group | S | 1..1 | BackboneElement | |
linkId | S | 1..1 | string | |
title | S | 0..1 | string | |
text | S | 0..1 | string | |
subject | 0..1 | Reference(Resource) | ||
group | S | 0..* | ||
question | S | 0..* | BackboneElement | |
linkId | S | 1..1 | string | |
text | S | 1..1 | string | |
answer | S | 0..* | BackboneElement | |
value[x] | S | 0..1 | boolean, date, dateTime, time, instant, decimal, integer, string, Coding, uri, Quantity, Attachment, Reference(Resource) | |
group | 0..* | |||
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
QuestionnaireResponse | 0..* | QuestionnaireResponse | A structured set of questions and their answers | |
meta | ∑ | 0..1 | Meta | Metadata about the resource |
implicitRules | ?! ∑ | 0..1 | uri | A set of rules under which this content was created |
language | 0..1 | code | Language of the resource content Binding: IETF BCP-47 (required) | |
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained | 0..* | Resource | Contained, inline Resources | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
identifier | S ∑ | 0..1 | Identifier | Unique id for this set of answers |
questionnaire | S ∑ | 1..1 | Reference(Structured Data Capture Questionnaire Design) | Form being answered |
status | ?! S∑ | 1..1 | code | in-progress | completed | amended Binding: QuestionnaireResponseStatus (required) |
subject | S ∑ | 1..1 | Reference(Patient) | The subject of the questions |
author | S ∑ | 0..1 | Reference(Practitioner | Patient | RelatedPerson) | Person who received and recorded the answers |
authored | S ∑ | 1..1 | dateTime | Date this version was authored |
source | ∑ | 0..1 | Reference(Patient | Practitioner | RelatedPerson) | The person who answered the questions |
encounter | ∑ | 0..1 | Reference(Encounter) | Primary encounter during which the answers were collected |
group | S I | 1..1 | BackboneElement | Grouped questions qrs-1: Groups may either contain questions or groups but not both |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
linkId | S | 1..1 | string | Corresponding group within Questionnaire |
title | S | 0..1 | string | Name for this group |
text | S | 0..1 | string | Additional text for the group |
subject | 0..1 | Reference(Resource) | The subject this group's answers are about | |
group | S I | 0..* | Nested questionnaire response group | |
question | S I | 0..* | BackboneElement | Questions in this group |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
linkId | S | 1..1 | string | Corresponding question within Questionnaire |
text | S | 1..1 | string | Text of the question as it is shown to the user |
answer | S | 0..* | BackboneElement | The response(s) to the question |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
value[x] | S | 0..1 | boolean, date, dateTime, time, instant, decimal, integer, string, Coding, uri, Quantity, Attachment, Reference(Resource) | Single-valued answer to the question |
group | 0..* | Nested questionnaire group | ||
Documentation for this format |
todo
This structure is derived from QuestionnaireResponse.
Differential View
This structure is derived from QuestionnaireResponse.
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
QuestionnaireResponse | 0..* | QuestionnaireResponse | ||
identifier | S | 0..1 | Identifier | |
questionnaire | S | 1..1 | Reference(Structured Data Capture Questionnaire Design) | |
status | S | 1..1 | code | |
subject | S | 1..1 | Reference(Patient) | |
author | S | 0..1 | Reference(Practitioner | Patient | RelatedPerson) | |
authored | S | 1..1 | dateTime | |
source | 0..1 | Reference(Patient | Practitioner | RelatedPerson) | ||
encounter | 0..1 | Reference(Encounter) | ||
group | S | 1..1 | BackboneElement | |
linkId | S | 1..1 | string | |
title | S | 0..1 | string | |
text | S | 0..1 | string | |
subject | 0..1 | Reference(Resource) | ||
group | S | 0..* | ||
question | S | 0..* | BackboneElement | |
linkId | S | 1..1 | string | |
text | S | 1..1 | string | |
answer | S | 0..* | BackboneElement | |
value[x] | S | 0..1 | boolean, date, dateTime, time, instant, decimal, integer, string, Coding, uri, Quantity, Attachment, Reference(Resource) | |
group | 0..* | |||
Documentation for this format |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
QuestionnaireResponse | 0..* | QuestionnaireResponse | A structured set of questions and their answers | |
meta | ∑ | 0..1 | Meta | Metadata about the resource |
implicitRules | ?! ∑ | 0..1 | uri | A set of rules under which this content was created |
language | 0..1 | code | Language of the resource content Binding: IETF BCP-47 (required) | |
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained | 0..* | Resource | Contained, inline Resources | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
identifier | S ∑ | 0..1 | Identifier | Unique id for this set of answers |
questionnaire | S ∑ | 1..1 | Reference(Structured Data Capture Questionnaire Design) | Form being answered |
status | ?! S∑ | 1..1 | code | in-progress | completed | amended Binding: QuestionnaireResponseStatus (required) |
subject | S ∑ | 1..1 | Reference(Patient) | The subject of the questions |
author | S ∑ | 0..1 | Reference(Practitioner | Patient | RelatedPerson) | Person who received and recorded the answers |
authored | S ∑ | 1..1 | dateTime | Date this version was authored |
source | ∑ | 0..1 | Reference(Patient | Practitioner | RelatedPerson) | The person who answered the questions |
encounter | ∑ | 0..1 | Reference(Encounter) | Primary encounter during which the answers were collected |
group | S I | 1..1 | BackboneElement | Grouped questions qrs-1: Groups may either contain questions or groups but not both |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
linkId | S | 1..1 | string | Corresponding group within Questionnaire |
title | S | 0..1 | string | Name for this group |
text | S | 0..1 | string | Additional text for the group |
subject | 0..1 | Reference(Resource) | The subject this group's answers are about | |
group | S I | 0..* | Nested questionnaire response group | |
question | S I | 0..* | BackboneElement | Questions in this group |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
linkId | S | 1..1 | string | Corresponding question within Questionnaire |
text | S | 1..1 | string | Text of the question as it is shown to the user |
answer | S | 0..* | BackboneElement | The response(s) to the question |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
value[x] | S | 0..1 | boolean, date, dateTime, time, instant, decimal, integer, string, Coding, uri, Quantity, Attachment, Reference(Resource) | Single-valued answer to the question |
group | 0..* | Nested questionnaire group | ||
Documentation for this format |
XML Template
JSON Template
todo
Other representations of profile: Schematron
Path | Name | Conformance | ValueSet |
QuestionnaireResponse.language | ?ext | required | http://tools.ietf.org/html/bcp47 |
QuestionnaireResponse.status | QuestionnaireResponseStatus | required | QuestionnaireResponseStatus |
Id | Path | Details | Requirements |
qrs-1 | QuestionnaireResponse.group | Groups may either contain questions or groups but not both XPath: not(exists(f:group) and exists(f:question)) |